.body { 
    min-height: 100vh; 
    width: 100%;
    background: 
      radial-gradient(ellipse 50% 80% at -10% 80%, 
        rgba(85, 83, 66, 0.8) 0%, 
        rgba(255, 255, 255, 0) 50%),
      radial-gradient(ellipse 40% 60% at 70% 40%, 
        rgba(66, 91, 121, 0.8) 0%, 
        rgba(255, 255, 255, 0) 50%),
      linear-gradient(to right, 
        #1b354c 10%, 
        #07223f 40%, 
        #023e5e 80%, 
        #092439 95%);        
    background-attachment: fixed;
}

.logo {
    width: 90%;
    height: 50px;
    margin-left:5%; 
    top: 30px;
    position:relative;
    display: flex; 
    align-items: center; 
    text-align: center; 
}

.logoImage{
 width: 40px;
 height: 40px;
}

.logoText{
    color: white;
    font-size: large;
    font-weight:bolder;
    margin-left: 10px;
}

// 以下是注册页面
.signDiv{
  width: 80%;
  height: 400px;
  margin-left:10%;
  margin-top: 5%;
  position: relative;
}

.welcomeSign {
  color: white;
  font-size: 22px;
  font-weight: 500;
  position: absolute;
}

.horizontal-line {
  width: 100%;
  height: 2px;
  background-color: white;
  margin-top: 40px;
  position: absolute;
}

.avatar-container {
  margin-left: 5%;
  margin-top: 80px;
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;

}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #666;
  background-color: white;
  border-radius: 50%;
}

/* 编辑按钮 */
.edit-button {
  position: absolute;
  bottom: 5px; 
  right: 5px; 
  background-color: #007aff;
  width: 40px; 
  height: 40px; 
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 3px solid white; 
}

.edit-button input {
  display: none;
}

.edit-button svg {
  width: 16px; 
  height: 16px;
}


.form-container {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 100px;
  row-gap: 30px;
  margin-left: 30%;
  margin-top: 70px;
}

.form-group {
  display: flex;
  flex-direction: column;

  label {
    font-size: 14px;
    margin-bottom: 6px;
    color: white; 
  }
  input {
    width: 250px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 16px;
    background-color: transparent;
    color: white;
    outline: none;
    transition: border 0.3s;
    &:focus {
      border-color:#007aff;
    }
    &::placeholder{
        color: white; 
        opacity: 0.7;
    }
  }
}

select {
  width: 270px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-size: 16px;
  background-color: transparent;
  color: white;
  outline: none;
  transition: border 0.3s;
}

select:focus {
  border-color: #007aff;
}

option {
  color: black;
}


.submit-button {
  position: relative;
  margin-left: 85%;
  grid-column: span 2;
  width: 100px;
  padding: 10px;
  margin-top: 10px;
  background-color: #007aff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
  &:hover {
    background-color:#005bb5;
  }
}